﻿using System.Data;
using JKF.DataModule.IDAL;
using JKF.Substructure;
using Microsoft.Practices.EnterpriseLibrary.Data;

namespace JKF.DataModule.SqlServerDAL
{
    public partial class dalCUSTOMER_DISEASE : IdalCUSTOMER_DISEASE
    {
        public static void RemoveByCustomer(string customerKey)
        {
            Database db = DB.HR;
            db.ExecuteNonQuery(CommandType.Text,
                               string.Format("delete from CUSTOMER_DISEASE where CUSTOMER_KEY='{0}'", customerKey));
        }
    }
}
